<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>weqw
    新闻we'q'w
    <button id="about">关于</button>
</body>
<script>
    const ipcRenderer = require('electron').ipcRenderer;
		document.getElementById("about").onclick=function(){
			ipcRenderer.send('close', 'ping',123);
		}
</script>
</html>